package cn.com.cifi.mars.web.action.sys;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import cn.com.cifi.mars.common.base.BaseAction;
import cn.com.cifi.mars.common.bean.R;
import cn.com.cifi.mars.service.SysLogService;

/**
 * 
 * @author Administrator
 *
 */
@RestController
public class SysLogController extends BaseAction implements ISysLogController{
	
	@Autowired
	private SysLogService sysLogService;
	
	/**
	 * 分页查询操作日志
	 */
	@Override
	public R<String> getLogPage(String apiVersion, String current, String pageSize, String source, String event,
			String title,String content,String type) {
        return ok( sysLogService.queryLogPage(current,pageSize,source,event,title,content,type));
	}

}
